home *** CD-ROM | disk | FTP | other *** search
/ Echoes of Ireland / Echoes of Ireland.iso / IRISH_ENGINE / quiz / quiz.swf / scripts / frame_20 / DoAction.as
Encoding:
Text File  |  2004-06-16  |  311 b   |  20 lines

  1. displayTotal = totalCorrect + "/" + 25;
  2. if(totalCorrect >= 15)
  3. {
  4.    if(totalcorrect >= 20)
  5.    {
  6.       _root.myQuiz = "gold";
  7.       award.gotoAndStop("gold");
  8.    }
  9.    else
  10.    {
  11.       _root.myQuiz = "silver";
  12.       award.gotoAndStop("silver");
  13.    }
  14. }
  15. else
  16. {
  17.    _root.myQuiz = "none";
  18. }
  19. stop();
  20.